package com.android.dongshouzhi.model.auction;

import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/9/19.
 */

public abstract class AuctionOrderListDataCallback  extends Callback<AuctionOrderListData> {

@Override
public AuctionOrderListData parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
    AuctionOrderListData data = new Gson().fromJson(string,AuctionOrderListData.class);
        return data;
        }
}
